/*
 * @Author: 孟庆晨
 * @Date: 2021-09-24 10:01:32
 * @LastEditTime: 2022-06-07 11:07:50
 * @LastEditors: mengqingchen mengqingchen@huaru.cc
 * @Description:
 * @FilePath: \vue-web-ai\src\store\index.js
 * 道法自然
 */
import { createStore } from 'vuex'
import createPersistedState from 'vuex-persistedstate'
import user from './modules/user/index'
export default createStore({
  modules: {
    user
  },
  plugins: [
    createPersistedState({
      storage: window.sessionStorage
    })
  ]
})
